package cn.luoyifan;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

//配置中心
@SpringBootApplication
@EnableEurekaClient
//开启配置
@EnableConfigServer
public class configApplication {

    public static void main(String[] args) {
        SpringApplication.run(configApplication.class);
    }
}
